package com.hengxinguotong.hxgtwygsp.ui.newView.projectLeader;

import com.hengxinguotong.hxgtwygsp.R;
import com.hengxinguotong.hxgtwygsp.ui.base.BaseTabFragment;
import com.hengxinguotong.hxgtwygsp.ui.readFile.FileDisplayActivity;
import com.hengxinguotong.hxgtwygsp.utils.CommUtil;

import java.io.File;

import javax.inject.Inject;

import butterknife.OnClick;

/**
 * 安全部门
 * Created by CS-Yong
 * 2019/9/1  23:31
 */
public class SecurityDepartmentFragment extends BaseTabFragment {

    @Inject
    public SecurityDepartmentFragment() {
    }

    @Override
    public int getLayoutResId() {
        return R.layout.fragment_security_department;
    }

    @Override
    public void init() {

    }

    @OnClick(R.id.tv_link_file)
    public void onClickLink() {
        FileDisplayActivity.show(getContext(), "秩序维护承包合同",
                CommUtil.getDataDir(getContext()) + File.separator + "order_defend.pdf");
    }
}
